package com.mk.web.basic.jstatic;

/**
 * 静态属性和静态方法是否可以被继承？是否可以被重写？以及原因？
 * Created by WangChen on 2018/12/28 21:55.
 */
public class StaticTest {

    public static void main(String [] args){

        System.out.println(StaticChild.s);
        StaticChild staticChild = new StaticChild();
        System.out.println(staticChild.s2);
        System.out.println(staticChild.s3);

    }
}